package com.sunnyebuy.merchant.dao;

import com.sunnyebuy.merchant.po.Merchant;

/**
 * <p>
 * Title: MerchantDAO.java
 * </p>
 * 
 * <p>
 * Description: com.sunnyebuy.merchant.dao
 * </p>
 * 
 * <p>
 * Copyright: Copyright (c) 2008-2011 All rights reserved.
 * </p>
 * 
 * <p>
 * Created: 2011-12-28 上午11:09:47
 * </p>
 * 
 * @author Wenzhong Gu
 * 
 * @version 1.0
 */
public interface MerchantDAO {

	public Merchant findMerchant(String email, String password);

	public Merchant loadMerchant(String merchantId);

	public Merchant updateMerchant(Merchant merchant);

	public Merchant addMerchant(Merchant merchant);

	public Merchant findMerchantByEmail(String email);

}